package com.Cychat.commons.entity.pojo;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("address")
public class Address {
    @Schema(description="地址ID")
    @TableId(value = "address_id", type = IdType.AUTO)
    private Integer addressId;
    @Schema(description="用户ID")
    private Long userId;
    @Schema(description="收货人姓名")
    private String receiverName;
    @Schema(description="收货人手机号")
    private String receiverPhone;
    @Schema(description="省份")
    private String province;
    @Schema(description="城市")
    private String city;
    @Schema(description="区县")
    private String district;
    @Schema(description="详细地址")
    private String detailAddress;
    @Schema(description="是否默认地址")
    private Integer isDefault;
    @Schema(description="创建时间")
    private Date createTime;
    @Schema(description="修改时间")
    private Date updateTime;
}
